package com.egao.common.article.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @auther ZhaoPeng Wang
 * @create 2022-03-18 10:42:25
 * @description 文章表实体类
 */
@Data
@TableName("t_article")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TArticle implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @TableField("name")
    private String name;


    @TableField("user_id")
    private Integer userId;


    @TableField("content")
    private String content;


    @TableField("type")
    private Integer type;


    @TableField("del_flag")
    private Integer delFlag;


    @TableField("create_time")
    private Date createTime;


    @TableField("state")
    private Integer state;

    @TableField("image")
    private String image;


}